﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using Sahit.iSoilHotel.Application.MainBoundedContext.DTO.RecordAgg;
using Sahit.iSoilHotel.Application.MainBoundedContext.DTO.FilterAgg;

namespace Sahit.iSoilHotel.DistributedServices.MainBoundedContext.Interfaces
{
    [ServiceContract]
    public interface ITavernRecordService
    {
        [OperationContract()]
        RecordDTO Reserve(RecordDTO record);

        [OperationContract()]
        RecordDTO CheckIn(RecordDTO record);

        [OperationContract()]
        RecordDTO CheckOut(RecordDTO record);

        [OperationContract()]
        List<RecordDTO> GetRecords(RecordFilterDTO filter);
    }
}
